package com.mypack.crm.service.customer;

import com.mypack.crm.dto.customer.CustomerDTO;
import com.mypack.crm.dto.customer.CustomerSearchDTO;

import java.util.List;

public interface CustomerService {

    void add(CustomerDTO customerDTO);

    void update(CustomerDTO customerDTO);

    List<CustomerDTO> list(CustomerSearchDTO customerSearchDTO,boolean isPage);

    CustomerDTO queryById(Integer id);

}
